﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace SimplePlanner.Entity
{
    public class Subject
    {
        public string name;
        public List<Index> indexes;
        public Subject() 
        {
            indexes = new List<Index>();
        }

        public Subject(string _name)
        {
            indexes = new List<Index>();
            name = _name;
        }

        public void addIndex(Index i)
        {
            indexes.Add(i);
        }

    }
}
